package com.ytkj.digitalConstruction.httpbean.user.req;

import javax.validation.constraints.Size;

import org.hibernate.validator.constraints.NotBlank;

public class ReqChanPass {

	@NotBlank(message="旧密码不能为空！")
	//@Size(min=6,max=15,message="密码长度必须在6到15位之间！")
	@Size(max=15,message="密码长度必须小于15位！")
	private String oldPassword;
	@NotBlank(message="新密码不能为空！")
	//@Size(min=6,max=15,message="密码长度必须在6到15位之间！")
	@Size(max=15,message="密码长度必须小于15位！")
	private String newPassword;
	public String getOldPassword() {
		return oldPassword;
	}
	public void setOldPassword(String oldPassword) {
		this.oldPassword = oldPassword;
	}
	public String getNewPassword() {
		return newPassword;
	}
	public void setNewPassword(String newPassword) {
		this.newPassword = newPassword;
	}
	
	
}
